<template>
	<div class="NoticeServer">
		<div class="title">服务公告</div>
		<div class="desc" v-html="detail.content"></div>
	</div>
</template>

<script>
	export default {
		name: "NoticeServer",
		components: {

		},
		data() {
			return {
				detail:{}
			}
		},
		mounted() {
			this.$api.home.newNotice({
				site_id: this.$localStorage.get("site_id")
			}).then(res => {
				// 执行某些操作
				if (res.code == 1) {
					this.detail = res.data
				}
			
			})
			
		}


	}
</script>

<style scoped lang="less">
	.NoticeServer {
		padding: 1.69rem 0.88rem;
		background: #fff;
		margin-top: 0.22rem;
		.title{
			font-size:0.81rem;
			font-family:PingFang SC;
			font-weight:500;
			color:rgba(254,119,0,1);
		}
		.desc{
			font-size:0.75rem;
			font-family:PingFang SC;
			font-weight:500;
			color:rgba(95,95,95,1);
			margin-top: 0.81rem;
		}
	}
</style>
